package com.agileboot.domain.system.user.dto;

import com.agileboot.common.annotation.ExcelColumn;
import com.agileboot.common.annotation.ExcelSheet;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@ExcelSheet(name = "用户排行榜")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRanking {
    @ExcelColumn(name = "用户ID")
    private Long userId;
    @ExcelColumn(name = "用户昵称")
    private String nickname;
    @ExcelColumn(name = "性别")
    private Integer sex;
    @ExcelColumn(name = "用户头像")
    private String avatar;
    @ExcelColumn(name = "贡献值")
    private Integer num;
    @ExcelColumn(name = "创建时间")
    private Date createTime;
}
